<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>自助平台</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>
<style>
    html body{
        overflow: hidden;
    }
</style>
<body>
<div class="row">
    <div class="header">
        <div style="position: relative; padding: 10px; background-color: #007AFF;">
            <img src="/static/logo.png" style="position:relative;left: 10px;"/>
        </div>
    </div>
    <div class="col-xs-12 col-md-4 col-md-offset-4">
        <div style="margin: 20px;">
            <div style="text-align: center;margin-top: 40px;">
                <h1>学生信息查询系统</h1>
            </div>
            <form action="/test" method="post">
                <div class="form-group" style="margin-top: 20px;">
                    <label for="exampleInputEmail1">姓名</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="name" placeholder="姓名">
                </div>
                <div class="form-group" style="margin-top: 20px;">
                    <label for="exampleInputPassword1">学号</label>
                    <input type="text" class="form-control" id="exampleInputPassword1" name="schoolId" placeholder="学号">
                </div>
                <div class="form-group" style="margin-top: 20px;">
                    <label for="exampleInputPassword12">专业</label>
                    <input type="text" class="form-control" id="exampleInputPassword12" name="className" placeholder="专业">
                </div>
                <div class="form-group" style="margin-top: 20px;">
                    <label for="exampleInputAddress1">地址</label>
                    <input type="text" class="form-control" id="exampleInputAddress1" name="addr" placeholder="地址">
                </div>

                <div class="form-group" style="margin-top: 20px;">
                    <button type="submit" style="height: 40px;" class="btn btn-primary btn-lg btn-block">查询</button>
                </div>
            </form>
        </div>
    </div>
</div>



<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
</body>
</html>
